package com.ruoyi.patrol.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 单回复详情对象 pt_form_reply
 * 
 * @author lkm
 * @date 2022-11-14
 */
public class PtFormReply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 表单问题回复编号 */
    private Long id;

    /** 学校编号 */
    @Excel(name = "学校编号")
    private Long schoolId;

   /** 表单编号 */
    @Excel(name = "学校编号")
    private Long formId;

    public Long getFormId() {
        return formId;
    }

    public void setFormId(Long formId) {
        this.formId = formId;
    }

    /** 表单问题详情编号 */
    @Excel(name = "表单问题详情编号")
    private Long fromDetailsId;

    /** 表单回复 */
    @Excel(name = "表单回复")
    private String reply;

    /** 表单回复原因 */
    @Excel(name = "表单回复原因")
    private String replyReason;



    /** 问题编号集合 */
    private List<Integer> fromDetailsIds;

    public List<Integer> getFromDetailsIds() {
        return fromDetailsIds;
    }

    public void setFromDetailsIds(List<Integer> fromDetailsIds) {
        this.fromDetailsIds = fromDetailsIds;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSchoolId(Long schoolId) 
    {
        this.schoolId = schoolId;
    }

    public Long getSchoolId() 
    {
        return schoolId;
    }
    public void setFromDetailsId(Long fromDetailsId) 
    {
        this.fromDetailsId = fromDetailsId;
    }

    public Long getFromDetailsId() 
    {
        return fromDetailsId;
    }
    public void setReply(String reply) 
    {
        this.reply = reply;
    }

    public String getReply() 
    {
        return reply;
    }
    public void setReplyReason(String replyReason) 
    {
        this.replyReason = replyReason;
    }

    public String getReplyReason() 
    {
        return replyReason;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("schoolId", getSchoolId())
            .append("fromDetailsId", getFromDetailsId())
            .append("reply", getReply())
            .append("replyReason", getReplyReason())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("formId", getFormId())
            .append("remark", getRemark())
            .toString();
    }
}
